package core;

public class FloatComparison {
public static void main(String[] args) {
	Float f1 = new Float(0.9F);
	Float f2 = new Float(0.9F);
	System.out.println(f1==f2);
	System.out.println(f1.equals(f2));
	
	Integer i1 = 129;
	Integer i2 = 129;
	i1--;
	i2--;
	System.out.println(i1==i2);
	float f3 =0.5f;
	float f4 =0.5f;
	System.out.println(f3==f4);
}
}
